﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using FwProject.Comm.ExcelUtil;

namespace FwProject.Distribution.Dto
{
    [DisplayName(displayName:"未收款客户一览表")]
    public class NotReceivableDto
    {
        /// <summary>
        /// 餐厅编号
        /// </summary>
        public Guid RestaurantId { get; set; } 

        /// <summary>
        /// 餐厅名称
        /// </summary>
        [DisplayName(displayName:"餐厅")]
        [ExcelDateMember]
        public string RestaurantName { get; set; }

        /// <summary>
        /// 司机
        /// </summary>
        [DisplayName(displayName: "司机")]
        [ExcelDateMember]
        public string DriverName { get; set; }

        /// <summary>
        /// 应收金额
        /// </summary>
        [DisplayName(displayName: "应收金额")]
        [ExcelDateMember(IsSum =true)]
        public decimal TotalPrice { get; set; }

        /// <summary>
        /// 已收金额
        /// </summary>
        [DisplayName(displayName: "已收金额")]
        [ExcelDateMember(IsSum = true)]
        public decimal ReceivedPrice { get; set; }

        /// <summary>
        /// 未收金额
        /// </summary>
        [DisplayName(displayName: "未收金额")]
        [ExcelDateMember(IsSum = true)]
        public decimal UncollectedPrice { get; set; }
    }
}
